package com.jingfu.util;

import lombok.Data;

import java.io.Serializable;


@Data
public abstract class BaseResult<T> implements Serializable {
    private static final long serialVersionUID = -6893338012055880996L;
    /**
     * 是否响应成功
     */
    private boolean success = false;

    /**
     * 响应消息
     */
    private String message;

    /**
     * 响应数据
     */
    private T data;

    /**
     * 响应code
     */
    private String code;

    /**
     * 响应时间戳
     */
    private String timestamp;
}
